<?php

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;

class CasesFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array
     */
    public function definition()
    {
        return [
            'title' => $this->faker->sentence(),
            'image' => $this->faker->imageUrl(),
            'service' => $this->faker->randomElement(['声音', '视觉', '动作', '体验', '技术']),
            'company' => $this->faker->randomElement(['腾讯游戏', '网易游戏', '完美世界', '巨人网络', '畅游']),
            'content' => $this->faker->paragraph(),
            'published_at' => $this->faker->dateTimeBetween('-30 days', 'now'),
        ];
    }
}
